﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="../Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.xml2json.js" type="text/javascript"></script>
    <script type="text/javascript">
        var xml = '<?xml version="1.0" encoding="utf-8" ?><site><s sss="123" mmm=[1,2,3,4]></s></site>';
        var json = $.xml2json(xml);
        alert(json);
    </script>
</head>
<body>

</body>
</html>
